* School monitoring
replace var = "Monitoring index" if var=="monitoring_index"
replace var = "Monitoring index" if var=="index_edu_monitoring"
*replace var = "DEO calls" if var == "V_deo_calls"
replace var = "DEO calls" if var == "V_deo_ever_call"
replace var = "Inspector calls" if var == "V_insp_calls"
replace var = "DEO visits" if var == "V_deo_visit_rec"
replace var = "Inspector visits (AD)" if var == "V_isp_visit_rec"


* School effort
replace var = "Effort index" if var=="effort_index"
replace var = "Effort index" if var=="index_edu_effort"
replace var = "% Teachers present (records)" if var == "Teacher_Absent"
replace var = "% Teachers present (observed)" if var == "V_present_teach_e"
replace var = "Meaningful board" if var == "V_perc_alotwritten"
replace var = "Teacher engaged" if var == "V_perc_Engaged"
replace var = "Staff meetings" if var == "V_school_staff_meet"

* School inputs 
replace var = "Input index" if var=="input_index"
replace var = "Input index" if var=="index_edu_input"
replace var = "N. teachers employed" if var == "V_n_teachers"
replace var = "Teachers transferred to school" if var == "V_teach_transf_to"
replace var = "Students per uniform" if var == "students_supply1"
replace var = "Students per book" if var == "students_supply2"
replace var = "Students per pencil" if var == "students_supply3"
*replace var = "Teachers employed" if var == "A_Q6_t_empl"
*replace var = "Teachers' gross salary (millions)" if var == "A_gross_salary"

* School outcomes
replace var = "Performance index" if var=="outcome_index"
replace var = "Performance index" if var=="index_edu_outcome"
replace var = "Enrollment (AD)" if var == "A_enrollment"
replace var = "% PLE Grade 1 (AD)" if var == "A_PLE_Grade1rate"
replace var = "% PLE Grade 2 (AD)" if var == "A_PLE_Grade2rate"
replace var = "PLE pass rate (AD)" if var == "A_PLE_passrate"

lab var Se1coef "Coef"
lab var Se1stderr "SE"
lab var Se1pval "P-val"
lab var S_ci "CI"
lab var Le1coef "Coef"
lab var Le1stderr "SE"
lab var Le1pval "P-val"
lab var L_ci "CI"
